﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="MessageConv.aspx.cs" Inherits="FlashGameSite.FormMessageConv" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <link rel="stylesheet" href="http://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css" />
    <div id="content">
        <div class="block">
            <div class="block-bot">
                <div class="head">
                    <div class="head-cnt">
                        <h3 id="htitle" runat="server"></h3>
                        <div class="cl">
                        </div>
                    </div>
                </div>
            </div>
            <asp:UpdatePanel ID="pnlUpdateMessages" runat="server" UpdateMode="Always">
                <ContentTemplate>
                    <asp:DataList ID="GridMessages" Width="100%" runat="server">
                        <ItemTemplate>
                            <div style="padding:10px;">
                                <strong><%# DataBinder.Eval(Container.DataItem, "Username")%></strong>: 
                                <span><%# DataBinder.Eval(Container.DataItem, "MessageText")%></span>
                            </div>
                        </ItemTemplate>
                    </asp:DataList>
                    <hr />
                    <table style="padding:10px;">
                        <tr>
                            <td>
                                <asp:TextBox ID="txtMessageText" TextMode="MultiLine" CssClass="txtcls" runat="server" Width="500px" Height="40px"></asp:TextBox>
                            </td>
                            <td>
                                <asp:Button ID="btnSend" runat="server" Text="Reply" CssClass="btncls" OnClick="btnSend_Click" />
                            </td>
                        </tr>
                    </table>
                    
                    
                   
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>

    </div>
</asp:Content>
